<template>
  <el-tabs
    v-model="activeName"
    type="card"
    class="demo-tabs"
    @tab-click="handleClick"
  >
    <el-tab-pane label="设备台账" name="first">
      <EquipmentList></EquipmentList>
    </el-tab-pane>
    <el-tab-pane label="设备监控" name="second">
      <EquipmentMonitoring></EquipmentMonitoring>
    </el-tab-pane>
  </el-tabs>
</template>

<script setup>
import { ref } from "vue";
import EquipmentList from "./components/equipmentList.vue";
import EquipmentMonitoring from "./components/equipmentMonitoring.vue";
const activeName = ref("first");
const handleClick = () => {};
</script>

<style scoped lang="less"></style>
